#pragma once
#include <QtCore/QObject>
#include "Serializable.h"

class SkillModel :
	public Serializable
{
	 Q_OBJECT
	 Q_PROPERTY(QString Name READ Name WRITE setName)
	 Q_PROPERTY(QString Reference READ Reference WRITE setReference)
	 Q_PROPERTY(int Value READ Value WRITE setValue)

#pragma region Constructor

public:
	SkillModel(void);
	~SkillModel(void);
	
#pragma endregion

#pragma region Public Methods

public:
	bool Serialize(QDomDocument * doc, QDomElement * tag);
	bool Deserialize(QDomDocument * doc, QDomElement * tag);

#pragma endregion

#pragma region Properties and Fields

	Q_PROP_DECL(QString, Name)
	Q_PROP_DECL(QString, Reference)
	Q_PROP_DECL(int, Value)

#pragma endregion

};

